/* === REAL ESTATE NAVBAR ENHANCED STYLE === */
body {
    background: #fafafa;
    font-family: 'Poppins', sans-serif;
}

/* Fixed width container for all main sections */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

:root {
    --re-primary: #6f2b8d;
    --re-accent: #3db4b4;
    --re-bg: #ffffff;
}

/* Basic Navbar look */
.re-navbar {
    background: var(--re-bg);
    border-bottom: 1px solid #eee;
    transition: all 0.4s ease;
    animation: fadeDown 0.8s ease both;
}

/* Logo area */
.re-brand {
    font-weight: 700;
    color: var(--re-primary);
    letter-spacing: 0.3px;
}

/* Fade-down animation on load */
@keyframes fadeDown {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sticky shadow on scroll */
.re-navbar.is-sticky {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(6px);
}

/* Nav links hover underline animation */
.navbar-nav .nav-link {
    position: relative;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: var(--re-primary);
    transition: transform 0.3s ease;
    transform-origin: center;
}

.navbar-nav .nav-link:hover {
    color: var(--re-primary);
}

.navbar-nav .nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* Search bar styling */
.search-bar .input-group {
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.search-bar .input-group:hover {
    box-shadow: 0 0 0 3px rgba(111, 43, 141, 0.1);
}

.search-bar input:focus,
.search-bar select:focus {
    border-color: var(--re-primary);
    box-shadow: 0 0 0 0.25rem rgba(111, 43, 141, 0.15);
}

/* Post property button with glow */
.btn-post {
    background: linear-gradient(135deg, var(--re-primary), var(--re-accent));
    color: #fff;
    border: none;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 6px rgba(111, 43, 141, 0.2);
}

.btn-post:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(111, 43, 141, 0.35);
}

/* Small glow pulse animation on hover */
.btn-post:hover::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 8px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 0%, transparent 70%);
    animation: pulseGlow 0.6s ease-out;
}

@keyframes pulseGlow {
    0% {
        opacity: 0.8;
        transform: scale(0.9);
    }

    100% {
        opacity: 0;
        transform: scale(1.6);
    }
}

/* Smooth transition for everything */
.navbar,
.nav-link,
.btn,
.input-group,
.form-control,
.form-select {
    transition: all 0.3s ease;
}


.re-footer {
    background: linear-gradient(180deg, #2b1e34 0%, #1a1421 100%);
}

.footer-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 6px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-link:hover {
    color: #fff;
    transform: translateX(4px);
}

.social-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: linear-gradient(135deg, #6f2b8d, #3db4b4);
    transform: scale(1.1);
    border-color: transparent;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.1);
}

.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    width: 87%;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-right: auto;
    margin-left: auto;
}

/* === HERO BANNER STYLES === */
.hero-banner {
    position: relative;
    height: 90vh;
    background: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1500&q=80') center/cover no-repeat;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
    z-index: 1;
}

.hero-banner .container {
    position: relative;
    z-index: 2;
}

.search-box {
    max-width: 650px;
}

.btn-gradient {
    background: linear-gradient(135deg, #6f2b8d, #3db4b4);
    color: #fff;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(111, 43, 141, 0.4);
}

.input-group .form-control,
.input-group .form-select {
    height: 55px;
}

@media (max-width: 768px) {
    .hero-banner {
        height: 70vh;
    }

    .search-box {
        max-width: 100%;
    }
}

/* Header fixed + slide animation */
.header-fixed {
    position: fixed;
    top: -100px;
    /* Initially hidden above */
    width: 100%;
    z-index: 999;
    background: #ffffff;
    box-shadow: 0 5px 30px rgba(0, 22, 84, 0.1);
    transition: top 0.4s ease, box-shadow 0.3s ease;
    animation-duration: 0.5s;
}

/* Slide-in keyframes */
@keyframes slideDown {
    0% {
        top: -100px;
        opacity: 0;
    }

    100% {
        top: 0;
        opacity: 1;
    }
}

/* Active class when scrolling */
.header-fixed.show {
    top: 0;
    animation-name: slideDown;
}


/* Section heading */
.featured-properties h2 {
    color: #3b3b3b;
}

/* Card styling */
.property-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Image badges */
.property-card .badge {
    padding: 0.5em 0.8em;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 5px;
}

/* Gradient Button */
.btn-gradient {
    background: linear-gradient(135deg, #7b38a6, #3db4b4);
    color: #fff;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(111, 43, 141, 0.4);
}

/* Card title */
.property-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
}

/* Card text */
.property-card .card-text i {
    color: #6f2b8d;
    margin-right: 4px;
}

.latest-projects h2 {
    color: #3b3b3b;
}

/* Project Card Styling */
.project-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Gradient Button */
.btn-gradient {
    background: linear-gradient(135deg, #7b38a6, #3db4b4);
    color: #fff;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(111, 43, 141, 0.4);
}

/* Card text */
.project-card .card-text i {
    color: #6f2b8d;
    margin-right: 4px;
}

.why-choose-us h2 {
    color: #3b3b3b;
}

.feature-card {
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    font-size: 2.5rem;
    color: #7b38a6;
}

.feature-card h5 {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: #555;
}

.testimonials h2 {
    color: #3b3b3b;
}

.testimonial-card {
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.testimonial-card img {
    border: 3px solid #7b38a6;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 0.5rem;
}

.testimonial-card h6 {
    color: #3b3b3b;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #7b38a6;
    border-radius: 50%;
}

.cta-section h2 {
    font-size: 2.5rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
}

.cta-section p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.cta-section .btn-light {
    transition: all 0.3s ease;
}

.cta-section .btn-light:hover {
    background-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.stats-section h2 {
    font-size: 2.5rem;
    color: #7b38a6;
}

.stats-section p {
    font-size: 1rem;
    color: #555;
    margin-top: 0.5rem;
}

.partners-section h2 {
    color: #3b3b3b;
}

.partners-section img {
    max-height: 60px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.partners-section img:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #7b38a6;
    border-radius: 50%;
}


.modal-content {
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.modal-header {
    background: linear-gradient(135deg, #7b38a6, #3db4b4);
    color: white;
    border-bottom: none;
}

.btn-custom {
    background: linear-gradient(135deg, #7b38a6, #3db4b4);
    color: white;
    border: none;
}

.btn-custom:hover {
    background: linear-gradient(135deg, #3db4b4, #7b38a6);
    color: #fff;
}

.btn-close-white {
    filter: invert(1);
    /* white close button */
}


.about-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.about-img img {
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
}

.about-img img:hover {
    transform: scale(1.05);
}

.about-content h2 {
    font-weight: 700;
    color: #2c3e50;
}

.about-content p {
    color: #555;
    font-size: 1.1rem;
    line-height: 1.8;
}

.highlight {
    color: #007bff;
    font-weight: 600;
}

/* Logo Cloud Section */
.logo-cloud-section {
    padding: 60px 0;
    background: #000;
    /* light background */
}

.logo-cloud-section .container {
    text-align: center;
}

.logo-item {
    background: #000;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
}

.logo-item img {
    max-height: 70px;
    max-width: 100%;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all 0.4s ease;
}

/* Hover Effect */
.logo-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 991px) {
    .logo-item {
        height: 100px;
        padding: 15px;
    }

    .logo-item img {
        max-height: 60px;
    }
}

@media (max-width: 767px) {
    .logo-cloud-section {
        padding: 40px 0;
    }

    .logo-item {
        margin-bottom: 15px;
        height: 90px;
    }

    .logo-item img {
        max-height: 55px;
    }
}


/* WhatsApp Floating Button */
/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #1ebd5a;
    transform: scale(1.1);
    color: #fff;
}

  /* ---------- Core navbar styles ---------- */
  .re-brand .logo-box {
      width: 40px;
      height: 40px;
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-weight: 700;
      background: linear-gradient(135deg, #7b38a6, #3db4b4);
  }

  .navbar.re-navbar {
      background: #fff;
      transition: all 200ms ease;
      border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  }

  /* Sticky / scrolled state */
  .navbar.scrolled {
      box-shadow: 0 6px 18px rgba(25, 25, 25, 0.06);
      transform: translateY(-1px);
      padding-top: .4rem !important;
      padding-bottom: .4rem !important;
  }

  /* Shrink brand text slightly when scrolled */
  .navbar.scrolled .re-brand div>div {
      font-size: 0.95rem;
  }

  .navbar.scrolled .re-brand small {
      font-size: .6rem;
  }

  /* Nav link hover color */
  .navbar .nav-link {
      transition: color .15s ease, transform .15s ease;
  }

  .navbar .nav-link:hover {
      color: #7b38a6;
      transform: translateY(-1px);
  }

  /* CTA button - consistent look */
  .btn-cta {
      border-radius: 6px;
      font-size: .9rem;
      white-space: nowrap;
  }

  /* Ensure collapse vertical spacing on small screens */
  @media (max-width: 991.98px) {
      .navbar-nav .nav-link {
          padding-left: 1rem;
          padding-right: 1rem;
      }

      .navbar .btn-cta {
          width: 100%;
      }
  }